Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pyproject.toml and add python 3.12 to CI #2377

Closed

Conversation

twizmwazin
Copy link
Contributor

@twizmwazin twizmwazin commented May 31, 2024

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

Right now installation fails on python 3.12 because distutils was removed. distutils are currently provided through the setuptools package. Using a pyproject.toml will tell modern python build tools to install setuptools prior to building capstone. I saw there is a separate PR to remove distutils, this is mostly orthogonal to that.

Once merged, I would like this cherry-picked to the v5 branch as well.

...

Test plan

Test that it builds and installs correctly on python 3.12. I've added an entry to the CI to ensure this.

...

Closing issues

Closes #2223
...

@XVilka
Copy link
Contributor

XVilka commented Jun 1, 2024

A duplicate of #2369 ?

@twizmwazin
Copy link
Contributor Author

Closing in favor of #2369

@twizmwazin twizmwazin closed this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capstone can't be built on 3.12 due to distutils removal
3 participants